<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .container {
      display: grid;
      grid-template-columns: 100px auto 100px;
      grid-template-rows: 200px 400px 200px;
      grid-template-areas: 'h h h'
                           'l c r'
                           'f f f';
    }
    header {
      grid-area: h;
    }
    footer {
      grid-area: f;
    }
    header, footer {
      background-color: aqua;
    }
    aside {
      background-color: #f00;
    }
    main {
      background-color: #00f;
      grid-area: c;
    }
    .light {
      grid-area: l;
    }
    .right {
      grid-area: r;
    }
  </style>
</head>
<body>
  <div class="container">
    <header>头部</header>
    <aside class="light">左侧</aside>
    <main>中间</main>
    <aside class="right">右侧</aside>
    <footer>尾部</footer>
  </div>
</body>
</html>